package biz.ezcom.design.pattern.decorator;

/**
 * 装饰器：裤子
 */
public class ComponentDecoratorTrousers extends ComponentDecorator {

	public ComponentDecoratorTrousers() {
	}

	public ComponentDecoratorTrousers(Component component) {
		super(component);
	}

	@Override
	public void operation() {
		System.out.println("ComponentDecoratorTrousers 脱裤子");
		super.operation();
		System.out.println("ComponentDecoratorTrousers 穿裤子");
	}

}
